<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<jsp:useBean id="user" class="beans.User" />
<jsp:setProperty name="user" property="id" param="id" />
<%-- <jsp:setProperty name="user" property="id" value="<%= request.getParameter("id") %>" /> --%>
<jsp:setProperty name="user" property="name" param="name" />
<%-- <jsp:setProperty name="user" property="*" /> --%>

아이디: <%= user.getId() %><br/>
이름: <%= user.getName() %>

</body>
</html>